package com.open.capacity.user.service.impl;

import com.open.capacity.user.model.FileInfo;
import com.open.capacity.user.service.FeignService;
import org.springframework.stereotype.Component;
import org.springframework.web.multipart.MultipartFile;

@Component
public class FeignServiceImpl implements FeignService {
    @Override
    public FileInfo updload(MultipartFile file) {
        FileInfo fileInfo = new FileInfo();
        fileInfo.setName("调用失败");
        return null;
    }

    @Override
    public String test(String test) {
        return "调用失败";
    }
}
